package com.tm.servicemsm.controller;

import com.tm.servicemsm.demos.DrugInfo;
import com.tm.servicemsm.demos.PatientInfo;
import com.tm.servicemsm.demos.Prescription;

/**
 * 2024/7/20 Cjj  患者管理、科室管理、药品模块管理、草药处方管理、医技工作台
 */
public class WorkstationManager {
    public static void main(String[] args) {
        PatientInfo patientInfo = new PatientInfo();
        patientInfo.setId("1");
        patientInfo.setName("王国");
        System.out.println(patientInfo);

        DrugInfo drugInfo = new DrugInfo();
        drugInfo.setName("阿莫西林胶囊");
        drugInfo.setSpecification("10g/盒");
        drugInfo.setPrice(45.3);
        System.out.println(drugInfo);

        Prescription prescription = new Prescription();
        prescription.setPatientId("1");
   /*     prescription.setDrugs();*/
        prescription.setDoctorName("小明");
        System.out.println(prescription);
    }
}
